﻿using System;
using System.Collections.Generic;
using System.Text;

namespace GDBLL.Scene
{
    /// <summary>
    /// 城市类
    /// </summary>
    [Serializable]
    public class City
    {
        private int m_id;

        /// <summary>
        /// ID
        /// </summary>
        public int Id
        {
            get { return m_id; }
            set { m_id = value; }
        }

        private string m_name;
        /// <summary>
        ///  城市名称
        /// </summary>
        public string Name
        {
            get { return m_name; }
            set { m_name = value; }
        }

        private List<Room> m_rooms;
        /// <summary>
        /// 房间
        /// </summary>
        public List<Room> Rooms
        {
            get { return m_rooms; }
            set { m_rooms = value; }
        }

        public City(int id, string name, List<Room> room)
        {
            this.m_id = id;
            this.m_name = name;
            this.m_rooms = room;
        }

        public City()
        {
 
        }





    }
}
